#!/usr/bin/env python2
#coding=utf-8

from elasticsearch import ElasticSearch

es = ElasticSearch()

def ff():
    query_all = {
        'query': {
            'match_all': {}
        }
    }
    res = es.search(index='cluster_stats')

if __name__ == '__main__':
    print